<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="2.0" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <html id="outputHtml1">
            <ice:outputStyle href="/resources/xp-portlet.css" id="outputStyle1"/>

            <ice:portlet>
                <ice:outputStyle href="/resources/xp-portlet.css" id="outputStyle1"/>
                <ice:form id="form1">
                    <ice:panelGrid binding="#{MyExperimentSearch.panelGrid1}" cellspacing="10" columns="3" id="panelGrid1">
                        <ice:inputText binding="#{MyExperimentSearch.inputText1}" id="search" size="25" />
                        <ice:outputText value="     " />
                        <ice:commandButton action="#{MyExperimentSearch.search}" binding="#{MyExperimentSearch.button1}" id="submit" value="Search"/>
                    </ice:panelGrid>
                    <br/>
                    <ice:panelTabSet binding="#{MyExperimentSearch.resultsTabSet}" id="resultsTabSet" selectedIndex="0">
                        <ice:panelTab binding="#{MyExperimentSearch.workflowsTab}" id="workflowsTab" label="Workflows">
                            <ice:dataTable binding="#{MyExperimentSearch.workflowsTable}" cellspacing="3" scrollHeight="300px" scrollable="true"
                                           columnWidths="1px, 600px" id="workflowsTable" rendered="#{MyExperimentSearch.tableVis}" var="item">
                                <ice:rowSelector toggleOnClick="false"/>
                                <ice:column>
                                    <ice:commandLink value="#{item.workflow}" style="font-size:13px; color:black;" actionListener="#{workflowBean.createInterface}"/>
                                </ice:column>
                            </ice:dataTable>
                        </ice:panelTab>
                        <ice:panelTab binding="#{MyExperimentSearch.peopleTab}" id="peopleTab" label="People">
                            <ice:outputText binding="#{MyExperimentSearch.peopleList}" id="peopleList" value="outputText"/>
                        </ice:panelTab>
                        <ice:panelTab binding="#{MyExperimentSearch.groupsTab}" id="groupsTab" label="Groups">
                            <ice:outputText binding="#{MyExperimentSearch.groupsList}" id="groupsList" value="outputText"/>
                        </ice:panelTab>
                    </ice:panelTabSet>
                    <br/>

                    <ice:panelGrid columns="3">
                        <ice:graphicImage value="/resources/icons/png/16x16/Info.png" />
                        <ice:outputText value="  "/>
                        <ice:outputText id="peopleList" value=" This portlet allows you to search myExperiment and build interfaces for workflows using the 'Interface Builder' portlet"
                                        style="font-style:italic; font-size:12px; color:#666666"/>
                    </ice:panelGrid>
                </ice:form>
            </ice:portlet>
        </html>
    </f:view>
</jsp:root>
